import service from '../utils/request.js'; // 引入二次封装的 axios
// 评论信息
export const deletecommentInfoById = (id) => {
  return service.post(`/api/admin/comment/delete/${id}`);
};

export const deleteCommentInfoBeach = (ids) => {
  return service.post(`/api/admin/comment/batchDelete`,ids);
};

export const getcommentInfoById = (id) => {
  return service.get(`/api/admin/comment/detail/${id}`);
};

export const listcommentInfo = (listQueryPageDTO) => {
  return service.post('/api/admin/comment/list', listQueryPageDTO);
};

export const ClientlistcommentInfo = (id) => {
  return service.get(`/api/client/comment/list/${id}`) ;
};
export const ClientAddComment = (params) => {
  return service.post('/api/client/comment/save',params) ;
};
export const  ClientReplyComment = (params) => {
  return service.post('/api/client/comment/reply',params) ;
};
